package xkp.lesson4;

public class Person {
	private int age;
	private String name;
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		return "Person [age=" + age + ", name=" + name + "]";
	}
	
	public void eat() {
		System.out.println("正常吃饭");
	}
	
	public void walk() {
		System.out.println("正常走路");
	}

}
